package com.tsinghua.discharge.dao;

import com.tsinghua.discharge.model.Pollutants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface PollutantsMapper {
    int deleteByPrimaryKey(Integer polid);

    int insert(Pollutants record);

    int insertSelective(Pollutants record);

    Pollutants selectByPrimaryKey(Integer polid);

    int updateByPrimaryKeySelective(Pollutants record);

    int updateByPrimaryKey(Pollutants record);
    Pollutants selectByPollutantAb(@Param("pollutantAb") String pollutantAb, @Param("userId") Integer userId);
}